package learnJava.puzzlers.classpuzzlers;

public class InstanceOf {
}

class Typ1{
    public static void main(String[] args) {
        System.out.println(null instanceof String );
        String s = null;
        System.out.println(s instanceof String );
    }
}
class Type2{
    public static void main(String[] args) {
//        System.out.println(new Type2() instanceof String);
    }
}
class Type3{
    public static void main(String[] args) {
        Type3 t3 = (Type3) new Object();
    }
}
